lib/deploy: Add .img to end of initramfs in /usr/lib/modules
authorColin Walters <walters@verbum.org>
Sat, 19 Aug 2017 00:51:10 +0000 (20:51 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 21 Aug 2017 16:41:50 +0000 (16:41 +0000)
commit1e5b06be5b7351ba4b9b398ac4d5431348ae6c03
tree5471a5061c65b1afcff071554ac6c45c1608bf2a
parent7b3e55a3f4915a8baf110c3e64d143bd2e3beda1
lib/deploy: Add .img to end of initramfs in /usr/lib/modules

Follow up to <https://github.com/ostreedev/ostree/pull/1079>; I was working on
the rpm-ostree updates for this, and I think it's more consistent if we have
`.img` here, since that's a closer match to the "remove $kver" that results in
`vmlinuz`. Also just best practice to have file suffix types where they make
sense.

The astute reader might notice this sneaks in a change where we'd crash if the
legacy bootdir didn't have an initramfs...yeah, should probably have test
coverage of that.

Closes: #1095
Approved by: jlebon
docs/manual/deployment.md
src/libostree/ostree-sysroot-deploy.c
tests/libtest.sh
tests/test-admin-deploy-syslinux.sh